package cn.jsj.invite.pojo;

import cn.jsj.invite.pojo.identity.UserIdentityEnum;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @author 卢斌
 */
@Getter
@Setter
@NoArgsConstructor
public class SchoolAdminEnt extends UserEnt {

    /**
     * 用户身份标识
     */
    private final UserIdentityEnum userIdentity = UserIdentityEnum.SCHOOL;


    /**
     * 学校管理员信息更新时间
     */
    private Date updateTime;

    @Override
    public String toString() {
        return "SchoolAdminEnt{" +
                "id=" + id +
                ", userIdentity=" + userIdentity +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", verification=" + verification +
                ", schoolId=" + schoolId +
                '}';
    }
}
